#本系统已开源，禁止商用
from random import *
import os
import sys
import uuid
import base64

#要使用的字符
n = ["1","2","3","4","5","6","7","8","9","0"]
e = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']
pe = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
ic = ['mdhdj14','jsjz','jsjs','-','/',':',';','(',')','¥','&','@','.','?','!']

#人机验证
ikun1 = int(randint(1,100)) 
ikun2 = int(randint(1,100))
print('hsbsj',ikun1,'+','jdhdh',ikun2)
print('不用管字母')
ikun3 = int(input('计算结果'))
ikun4 = ikun1 + ikun2
if ikun3 == ikun4:
    print()
elif ikun3 != ikun4:
    print('错了')
    os._exit(0)

#证书检测


#警告
print("系统已开源，禁止商用")
print("如果你是购买到的此系统，请立即退款")
jc = '172'
p = input('同意上文吗，同意按1，不同意按2     ')
print('项目官网：https://gitee.com/xjskxhksjxk/python-idc-fuzhu')
#系统主要代码
if jc == '172':
    if p == '1':
        q = input('请输入服务代码，1是生成 兑换码，2是生成账密 ')
        if q == '1':
             
            m1 = n[randint(0,9)]
            m2 = e[randint(0,25)]
            m3 = pe[randint(0,25)]
            m4 = ic[randint(0,14)]
            m5 = n[randint(0,9)]
            m6 = e[randint(0,25)]
            m7 = pe[randint(0,25)]
            m8 = ic[randint(0,14)]               
            m9 = n[randint(0,9)]
            m10 = e[randint(0,25)]                             
            m11 = pe[randint(0,25)]
            m12 = ic[randint(0,14)]
            m14 = m1+m2+m3+m4+m5+m6+m7+m8+m9+m10+m11+m12
            print(m14)
            print('输出完成')
        elif q == '2':
             z1 = n[randint(0,9)]
             z2 = e[randint(0,25)]
             z3 = pe[randint(0,25)]
             z4 = ic[randint(0,14)]
             z5 = z1+z2+z3+z4
             print('账号:',z5)
             p1 = n[randint(0,9)]
             p2 = e[randint(0,25)]
             p3 = pe[randint(0,25)]
             p4 = ic[randint(0,14)]
             p5 = n[randint(0,9)]
             p6 = e[randint(0,25)]
             p7 = pe[randint(0,25)]
             p8 = ic[randint(0,13)]
             p9 = p1+p2+p3+p4+p5+p6+p7+p8
             print('密码:',p9)             